xref: /minix3/share/i18n/csmapper/CP/CP1046%UCS.src (revision 36dcc4a4a93f782ada76dce3d52fbeab0e063cf1)
1*36dcc4a4SLionel Sambuc# $NetBSD: CP1046%UCS.src,v 1.1 2007/06/02 06:09:08 tnozaki Exp $
2*36dcc4a4SLionel Sambuc
3*36dcc4a4SLionel Sambuc# Copyright (c)2007 Citrus Project,
4*36dcc4a4SLionel Sambuc# All rights reserved.
5*36dcc4a4SLionel Sambuc#
6*36dcc4a4SLionel Sambuc# Redistribution and use in source and binary forms, with or without
7*36dcc4a4SLionel Sambuc# modification, are permitted provided that the following conditions
8*36dcc4a4SLionel Sambuc# are met:
9*36dcc4a4SLionel Sambuc# 1. Redistributions of source code must retain the above copyright
10*36dcc4a4SLionel Sambuc#    notice, this list of conditions and the following disclaimer.
11*36dcc4a4SLionel Sambuc# 2. Redistributions in binary form must reproduce the above copyright
12*36dcc4a4SLionel Sambuc#    notice, this list of conditions and the following disclaimer in the
13*36dcc4a4SLionel Sambuc#    documentation and/or other materials provided with the distribution.
14*36dcc4a4SLionel Sambuc#
15*36dcc4a4SLionel Sambuc# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16*36dcc4a4SLionel Sambuc# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*36dcc4a4SLionel Sambuc# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*36dcc4a4SLionel Sambuc# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*36dcc4a4SLionel Sambuc# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*36dcc4a4SLionel Sambuc# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*36dcc4a4SLionel Sambuc# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*36dcc4a4SLionel Sambuc# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*36dcc4a4SLionel Sambuc# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*36dcc4a4SLionel Sambuc# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*36dcc4a4SLionel Sambuc# SUCH DAMAGE.
26*36dcc4a4SLionel Sambuc#
27*36dcc4a4SLionel Sambuc
28*36dcc4a4SLionel SambucTYPE		ROWCOL
29*36dcc4a4SLionel SambucNAME		"CP1046/UCS"
30*36dcc4a4SLionel SambucSRC_ZONE	0x00-0xFF
31*36dcc4a4SLionel SambucOOB_MODE	ILSEQ
32*36dcc4a4SLionel SambucDST_ILSEQ	0xFFFE
33*36dcc4a4SLionel SambucDST_UNIT_BITS	16
34*36dcc4a4SLionel Sambuc
35*36dcc4a4SLionel SambucBEGIN_MAP
36*36dcc4a4SLionel Sambuc#
37*36dcc4a4SLionel Sambuc# CP1046 - Arabic Extended
38*36dcc4a4SLionel Sambuc# this mapping data is made from:
39*36dcc4a4SLionel Sambuc#   ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/
40*36dcc4a4SLionel Sambuc#       CP0{0864,1046}.{pdf,txt}
41*36dcc4a4SLionel Sambuc#   ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP864.TXT
42*36dcc4a4SLionel Sambuc#   http://www.unicode.org/charts/PDF/U0600.pdf
43*36dcc4a4SLionel Sambuc#   http://www.unicode.org/charts/PDF/UFE70.pdf
44*36dcc4a4SLionel Sambuc#
45*36dcc4a4SLionel Sambuc0x00 - 0x7F = 0x0000 -
46*36dcc4a4SLionel Sambuc0x80 = 0xFE88 # ARABIC LETTER ALEF WITH HAMZA BELOW FINAL FORM
47*36dcc4a4SLionel Sambuc0x81 = 0x00D7 # MULTIPLICATION SIGN
48*36dcc4a4SLionel Sambuc0x82 = 0x00F7 # DIVISION SIGN
49*36dcc4a4SLionel Sambuc0x83 = 0xFEB1 # ARABIC LETTER SEEN ISOLATED FORM
50*36dcc4a4SLionel Sambuc0x84 = 0xFEB5 # ARABIC LETTER SHEEN ISOLATED FORM
51*36dcc4a4SLionel Sambuc0x85 = 0xFEB9 # ARABIC LETTER SAD ISOLATED FORM
52*36dcc4a4SLionel Sambuc0x86 = 0xFEBD # ARABIC LETTER DAD ISOLATED FORM
53*36dcc4a4SLionel Sambuc0x87 = 0xFE71 # ARABIC TATWHEEL WITH FATHATAN ABOVE
54*36dcc4a4SLionel Sambuc0x89 = 0x25A0 # BLACK SQUARE
55*36dcc4a4SLionel Sambuc0x8A = 0x2502 # BOX DRAWINGS LIGHT VERTICAL
56*36dcc4a4SLionel Sambuc0x8B = 0x2500 # BOX DRAWINGS LIGHT HORIZONTAL
57*36dcc4a4SLionel Sambuc0x8C = 0x2510 # BOX DRAWINGS LIGHT DOWN AND LEFT
58*36dcc4a4SLionel Sambuc0x8D = 0x250C # BOX DRAWINGS LIGHT DOWN AND RIGHT
59*36dcc4a4SLionel Sambuc0x8E = 0x2514 # BOX DRAWINGS LIGHT UP AND RIGHT
60*36dcc4a4SLionel Sambuc0x8F = 0x2518 # BOX DRAWINGS LIGHT UP AND LEFT
61*36dcc4a4SLionel Sambuc0x90 = 0xFE79 # ARABIC LETTER DAMMA MEDIAL FORM
62*36dcc4a4SLionel Sambuc0x91 = 0xFE7B # ARABIC LETTER KASRA MEDIAL FORM
63*36dcc4a4SLionel Sambuc0x92 = 0xFE7D # ARABIC LETTER SHADDA MEDIAL FORM
64*36dcc4a4SLionel Sambuc0x93 = 0xFE7F # ARABIC LETTER SUKUN MEDIAL FORM
65*36dcc4a4SLionel Sambuc0x94 = 0xFE77 # ARABIC FATHA MEDIAL FORM
66*36dcc4a4SLionel Sambuc0x95 = 0xFE8A # ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM
67*36dcc4a4SLionel Sambuc0x96 = 0xFEF0 # ARABIC LETTER ALEF MAKSUMA FINAL FORM
68*36dcc4a4SLionel Sambuc0x97 = 0xFEF3 # ARABIC LETTER YEH INITIAL FORM
69*36dcc4a4SLionel Sambuc0x98 = 0xFEF2 # ARABIC LETTER YEH FINAL FORM
70*36dcc4a4SLionel Sambuc0x99 = 0xFECE # ARABIC LETTER GHAIN FINAL FORM
71*36dcc4a4SLionel Sambuc0x9A = 0xFECF # ARABIC LETTER GHAIN INITIAL FORM
72*36dcc4a4SLionel Sambuc0x9B = 0xFED0 # ARABIC LETTER GHAIN MEDIAL FORM
73*36dcc4a4SLionel Sambuc0x9C = 0xFEF6 # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE FINAL FORM
74*36dcc4a4SLionel Sambuc0x9D = 0xFEF8 # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE FINAL FORM
75*36dcc4a4SLionel Sambuc0x9E = 0xFEFA # ARABIC LIGATURE LAM WITH ALEF WITH HANZA BELOW FINAL FORM
76*36dcc4a4SLionel Sambuc0x9F = 0xFEFC # ARABIC LIGATURE LAM WITH ALEF FINAL FORM
77*36dcc4a4SLionel Sambuc0xA0 = 0x00A0 # NO-BREAK SPACE
78*36dcc4a4SLionel Sambuc0xA1 = 0xF8FA # Aleph Madda (after Lam) != ARABIC LETTER ALEF WITH MADDA ABOVE(0x0622)
79*36dcc4a4SLionel Sambuc0xA2 = 0xF8F9 # Aleph Hamza (after Lam) != ARABIC LETTER ALEF WITH HAMZA ABOVE(0x0623)
80*36dcc4a4SLionel Sambuc0xA3 = 0xF8F8 # Hamza Under Aleph (after Lam) != ARABIC LETTER ALEF WITH HAMZA BELOW(0x0625)
81*36dcc4a4SLionel Sambuc0xA4 = 0x00A4 # CURRENCY SIGN
82*36dcc4a4SLionel Sambuc0xA5 = 0xF8FB # Aleph (after Lam) != ARABIC LETTER ALEF(0x0627)
83*36dcc4a4SLionel Sambuc0xA6 = 0xFE8B # ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM
84*36dcc4a4SLionel Sambuc0xA7 = 0xFE91 # ARABIC LETTER BEH INITIAL FORM
85*36dcc4a4SLionel Sambuc0xA8 = 0xFE97 # ARABIC LETTER TEH INITIAL FORM
86*36dcc4a4SLionel Sambuc0xA9 = 0xFE9B # ARABIC LETTER THEH INITIAL FORM
87*36dcc4a4SLionel Sambuc0xAA = 0xFE9F # ARABIC LETTER JEEM INITIAL FORM
88*36dcc4a4SLionel Sambuc0xAB = 0xFEA3 # ARABIC LETTER HAH INITIAL FORM
89*36dcc4a4SLionel Sambuc0xAC = 0x060C # ARABIC COMMA
90*36dcc4a4SLionel Sambuc0xAE = 0xFEA7 # ARABIC LETTER KHAH INITIAL FORM
91*36dcc4a4SLionel Sambuc0xAF = 0xFEB3 # ARABIC LETTER SEEN INITIAL FORM
92*36dcc4a4SLionel Sambuc0xB0 - 0xB9 = 0x0660 - # ARABIC-INDIC DIGIT ZERO - NINE
93*36dcc4a4SLionel Sambuc0xBA = 0xFEB7 # ARABIC LETTER SHEEN INITIAL FORM
94*36dcc4a4SLionel Sambuc0xBB = 0x061B # ARABIC SEMICOLON
95*36dcc4a4SLionel Sambuc0xBC = 0xFEBB # ARABIC LETTER SAD INITIAL FORM
96*36dcc4a4SLionel Sambuc0xBD = 0xFEBF # ARABIC LETTER DAD INITIAL FORM
97*36dcc4a4SLionel Sambuc0xBE = 0xFECA # ARABIC LETTER AIN FINAL FORM
98*36dcc4a4SLionel Sambuc0xBF = 0x061F # ARABIC QUESTION MARK
99*36dcc4a4SLionel Sambuc0xC0 = 0xFECB # ARABIC LETTER AIN INITIAL FORM
100*36dcc4a4SLionel Sambuc0xC1 = 0xFE80 # ARABIC LETTER HAMZA ISOTATED FORM
101*36dcc4a4SLionel Sambuc0xC2 = 0xFE81 # ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM
102*36dcc4a4SLionel Sambuc0xC3 = 0xFE83 # ARABIC LETTER ALEF WITH HAMZA ABOVE ISOLATED FORM
103*36dcc4a4SLionel Sambuc0xC4 = 0xFE85 # ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM
104*36dcc4a4SLionel Sambuc0xC5 = 0xFE87 # ARABIC LETTER ALEF WITH HAMZA BELOW ISOLATED FORM
105*36dcc4a4SLionel Sambuc0xC6 = 0xFE89 # ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM
106*36dcc4a4SLionel Sambuc0xC7 = 0xFE8D # ARABIC LETTER ALEF ISOLATED FORM
107*36dcc4a4SLionel Sambuc0xC8 = 0xFE8F # ARABIC LETTER BEH ISOLATED FORM
108*36dcc4a4SLionel Sambuc0xC9 = 0xFE93 # ARABIC LETTER TEH MARBUTA ISOLATED FORM
109*36dcc4a4SLionel Sambuc0xCA = 0xFE95 # ARABIC LETTER TEH ISOLATED FORM
110*36dcc4a4SLionel Sambuc0xCB = 0xFE99 # ARABIC LETTER THEH ISOLATED FORM
111*36dcc4a4SLionel Sambuc0xCC = 0xFE9D # ARABIC LETTER JEEM ISOLATED FORM
112*36dcc4a4SLionel Sambuc0xCD = 0xFEA1 # ARABIC LETTER HAH ISOLATED FORM
113*36dcc4a4SLionel Sambuc0xCE = 0xFEA5 # ARABIC LETTER KHAH ISOLATED FORM
114*36dcc4a4SLionel Sambuc0xCF = 0xFEA9 # ARABIC LETTER DAL ISOLATED FORM
115*36dcc4a4SLionel Sambuc0xD0 = 0xFEAB # ARABIC LETTER THAL ISOLATED FORM
116*36dcc4a4SLionel Sambuc0xD1 = 0xFEAD # ARABIC LETTER REH ISOLATED FORM
117*36dcc4a4SLionel Sambuc0xD2 = 0xFEAF # ARABIC LETTER REH FINAL FORM
118*36dcc4a4SLionel Sambuc0xD3 = 0xFEB2 # ARABIC LETTER SEEN FINAL FORM
119*36dcc4a4SLionel Sambuc0xD4 = 0xFEB6 # ARABIC LETTER SHEEN FINAL FORM
120*36dcc4a4SLionel Sambuc0xD5 = 0xFEBA # ARABIC LETTER SAD FINAL FORM
121*36dcc4a4SLionel Sambuc0xD6 = 0xFEBE # ARABIC LETTER DAD FINAL FORM
122*36dcc4a4SLionel Sambuc0xD7 = 0xFEC1 # ARABIC LETTER TAH ISOLATED FORM
123*36dcc4a4SLionel Sambuc0xD8 = 0xFEC5 # ARABIC LETTER ZAH ISOLATED FORM
124*36dcc4a4SLionel Sambuc0xD9 = 0xFEC9 # ARABIC LETTER AIN ISOLATED FORM
125*36dcc4a4SLionel Sambuc0xDA = 0xFECD # ARABIC LETTER GHAIN ISOLATED FORM
126*36dcc4a4SLionel Sambuc0xDB = 0xFECC # ARABIC LETTER AIN MEDIAL FORM
127*36dcc4a4SLionel Sambuc0xDC = 0xFE82 # ARABIC LETTER ALEF WITH MADDA ABOVE FINAL FORM
128*36dcc4a4SLionel Sambuc0xDD = 0xFE84 # ARABIC LETTER ALEF WITH HAMZA ABOVE FINAL FORM
129*36dcc4a4SLionel Sambuc0xDE = 0xFE8E # ARABIC LETTER ALEF FINAL FORM
130*36dcc4a4SLionel Sambuc0xDF = 0xFED3 # ARABIC LETTER FEH INITIAL FORM
131*36dcc4a4SLionel Sambuc0xE0 = 0x0640 # ARABIC TATWEEL
132*36dcc4a4SLionel Sambuc0xE1 = 0xFED1 # ARABIC LETTER FEH ISOLATED FORM
133*36dcc4a4SLionel Sambuc0xE2 = 0xFED5 # ARABIC LETTER QAF ISOLATED FORM
134*36dcc4a4SLionel Sambuc0xE3 = 0xFED9 # ARABIC LETTER KAF ISOLATED FORM
135*36dcc4a4SLionel Sambuc0xE4 = 0xFEDD # ARABIC LETTER LAM ISOLATED FORM
136*36dcc4a4SLionel Sambuc0xE5 = 0xFEE1 # ARABIC LETTER MEEM ISOLATED FORM
137*36dcc4a4SLionel Sambuc0xE6 = 0xFEE5 # ARABIC LETTER NOON ISOLATED FORM
138*36dcc4a4SLionel Sambuc0xE7 = 0xFEEB # ARABIC LETTER HEH ISOLATED FORM
139*36dcc4a4SLionel Sambuc0xE8 = 0xFEED # ARABIC LETTER WAW ISOLATED FORM
140*36dcc4a4SLionel Sambuc0xE9 = 0xFEEF # ARABIC LETTER ALEF MAKSURA ISOLATED FORM
141*36dcc4a4SLionel Sambuc0xEA = 0xFEF1 # ARABIC LETTER YEH ISOLATED FORM
142*36dcc4a4SLionel Sambuc0xEB = 0xFE70 # ARABIC FATHATAN ISOLATED FORM
143*36dcc4a4SLionel Sambuc0xEC = 0xFE72 # ARABIC DAMMATAN ISOLATED FORM
144*36dcc4a4SLionel Sambuc0xED = 0xFE74 # ARABIC KASRATAN ISOLATED FORM
145*36dcc4a4SLionel Sambuc0xEE = 0xFE76 # ARABIC FATHA ISOLATED FORM
146*36dcc4a4SLionel Sambuc0xEF = 0xFE78 # ARABIC DAMMA ISOLATED FORM
147*36dcc4a4SLionel Sambuc0xF0 = 0xFE7A # ARABIC KASRA ISOLATED FORM
148*36dcc4a4SLionel Sambuc0xF1 = 0x0651 # ARABIC SHADDA
149*36dcc4a4SLionel Sambuc0xF2 = 0xFE7E # ARABIC SUKUN ISOLATED FORM
150*36dcc4a4SLionel Sambuc0xF3 = 0xFED7 # ARABIC LETTER QAF INITIAL FORM
151*36dcc4a4SLionel Sambuc0xF4 = 0xFEDB # ARABIC LETTER KAF INITIAL FORM
152*36dcc4a4SLionel Sambuc0xF5 = 0xFEDF # ARABIC LETTER LAM INITIAL FORM
153*36dcc4a4SLionel Sambuc0xF6 = 0xFE73 # ARABIC TAIL FRAGMENT
154*36dcc4a4SLionel Sambuc0xF7 = 0xFEF5 # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE ISOLATED FORM
155*36dcc4a4SLionel Sambuc0xF8 = 0xFEF7 # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE ISOLATED FORM
156*36dcc4a4SLionel Sambuc0xF9 = 0xFEF9 # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW ISOLATED FORM
157*36dcc4a4SLionel Sambuc0xFA = 0xFEFB # ARABIC LIGATURE LAM WITH ALEF ISOLATED FORM
158*36dcc4a4SLionel Sambuc0xFB = 0xFEE3 # ARABIC LETTER MEEM INITIAL FORM
159*36dcc4a4SLionel Sambuc0xFC = 0xFEE7 # ARABIC LETTER NOON INITIAL FORM
160*36dcc4a4SLionel Sambuc0xFD = 0xFEEC # ARABIC LETTER HEH MEDIAL FORM
161*36dcc4a4SLionel Sambuc0xFE = 0xFEE9 # ARABIC LETTER HEH ISOLATED FORM
162*36dcc4a4SLionel Sambuc0xFF = 0x20AC # EURO SIGN
163*36dcc4a4SLionel SambucEND_MAP
164